package com.zf.yichat.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "user_bank_xs")
public class UserBankXs implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private Integer id;

    @Column(name = "user_id")
    private Long userId;

    private String name;



    /**
     * 手机号
     */
    private String mobile;

    private String password;

    /**
     * 身份证号
     */
    @Column(name = "id_number")
    private String idNumber;

    /**
     * 银行
     */
    @Column(name = "bank_name")
    private String bankName;

    // 支行名称
    @Column(name = "child_bankname")
    private String childBankname;
    /**
     * 银行卡号
     */
    @Column(name = "bank_number")
    private String bankNumber;

    /**
     * 0存在  1删除
     */
    private Integer status;

    private Date ctime;

    private Date utime;

    @Column(name = "xsBindCardAgrNo")
    private String xsbindcardagrno;

    @Column(name = "xsBankCode")
    private String xsbankcode;

    @Column(name = "xsCardType")
    private Integer xscardtype;

    @Column(name = "xsBindCardOrderCode")
    private String xsbindcardordercode;

    public UserBankXs() {
        super();
    }

    public UserBankXs(Integer id, Long userId, String name, String mobile, String password, String idNumber,
                      String bankName,String childBankname, String bankNumber, Integer status, Date ctime, Date utime, String xsbindcardagrno, String xsbankcode, Integer xscardtype, String xsbindcardordercode) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.mobile = mobile;
        this.password = password;
        this.idNumber = idNumber;
        this.bankName = bankName;
        this.childBankname = childBankname;
        this.bankNumber = bankNumber;
        this.status = status;
        this.ctime = ctime;
        this.utime = utime;
        this.xsbindcardagrno = xsbindcardagrno;
        this.xsbankcode = xsbankcode;
        this.xscardtype = xscardtype;
        this.xsbindcardordercode = xsbindcardordercode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getChildBankname() {
        return childBankname;
    }

    public void setChildBankname(String childBankname) {
        this.childBankname = childBankname;
    }

    public String getBankNumber() {
        return bankNumber;
    }

    public void setBankNumber(String bankNumber) {
        this.bankNumber = bankNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public String getXsbindcardagrno() {
        return xsbindcardagrno;
    }

    public void setXsbindcardagrno(String xsbindcardagrno) {
        this.xsbindcardagrno = xsbindcardagrno;
    }

    public String getXsbankcode() {
        return xsbankcode;
    }

    public void setXsbankcode(String xsbankcode) {
        this.xsbankcode = xsbankcode;
    }

    public Integer getXscardtype() {
        return xscardtype;
    }

    public void setXscardtype(Integer xscardtype) {
        this.xscardtype = xscardtype;
    }

    public String getXsbindcardordercode() {
        return xsbindcardordercode;
    }

    public void setXsbindcardordercode(String xsbindcardordercode) {
        this.xsbindcardordercode = xsbindcardordercode;
    }
}
